ציטירנדיקער פּירוש אויף שמואל ב 24:18

וַיָּבֹא־גָ֥ד אֶל־דָּוִ֖ד בַּיּ֣וֹם הַה֑וּא וַיֹּ֣אמֶר ל֗וֹ עֲלֵה֙ הָקֵ֤ם לַֽיהוָה֙ מִזְבֵּ֔חַ בְּגֹ֖רֶן ארניה [אֲרַ֥וְנָה] הַיְבֻסִֽי׃

איז גָד געקומען צו דָוִדן אין יענעם טאָג, און ער האָט צו אים געזאָגט: גײ אַרױף, שטעל אױף צו גאָט אַ מזבח אין דעם שײַער פֿון אַרַונֶה דעם יבֿוסי.

Ramban

UNTO HIS HABITATION SHALL YE SEEK. The meaning thereof is that you are to come from distant countries asking, “Where is the road leading to the House of G-d?,” and you should say to one another, ‘Come ye, and let us go up to the mountain of the Eternal, to the House of the G-d of Jacob,’23Isaiah 2:3. similar to the expression, They shall inquire concerning Zion with their faces hit herward.24Jeremiah 50:5. And in the Sifre it is stated:25Sifre, R’eih 62. “Ye shall seek — seek [the place where G-d intended that His House be built] through the command of the prophet. I might think that you are to wait until the prophet tells you [when and where to build it]; Scripture therefore states, unto His habitation shall ye seek, and thither thou shalt come — seek and find [the place], and afterwards the prophet will tell you [whether your choice is the correct one]. And so you find it in the case of David etc.”26“As it is said, O Eternal, remember unto David all his affliction, how he swore unto the Eternal, and vowed unto the Mighty One of Jacob, ‘Surely I will not come into the tent of my house … Until I find out a place for the Eternal, a dwelling-place for the Mighty One of Jacob’” (Psalms 132:1-5). And whence do you know that he did it only by command of the prophet? Because it says, And Gad [the prophet] came that day to David, and said unto him: ‘Go up, rear an altar on the threshing-floor of Aravnah the Jebusite.’ (II Samuel 24:18) (Sifre, R’eih 62).
And by way of the Truth, [the mystic teachings of the Cabala], l’shichno (unto His habitation) shall ye seek means that you are to inquire after His Glory [that abides there]; and thither thou shalt come to appear before the Lord, Eternal G-d, the G-d of Israel.27Exodus 34:23. It is on the basis of this expression here [l’shichno — unto His habitation] that the Sages have spoken of the Shechinah (“Divine Presence”).
פֿרעגט אַ רבֿBookmarkShareCopy

Rashi

and in the words of Gad In the incident of the plague, and in honor of the king he tells and mentions it, saying that the full account of the greatness of the king is written here and elsewhere, and so it is with Mordecai, (Esther 10:2): “... they are written in the chronicles of the kings of Media and Persia.”
פֿרעגט אַ רבֿBookmarkShareCopy